<template>
  <div id="app">
    <div v-if="flagView">
     <router-view></router-view>
    </div>
  </div>
</template>

<script>

export default {
  name: 'app',
  data() {
    return {
      flagView: true
    }
  },
  provide() {
    return {
      reload: this.reload
    }
  },
  methods: {
    reload() {
      this.flagView = false;
      this.$nextTick(() => {
        this.flagView = true
      })
    }
  },
  components: {
    
  }
}
</script>

<style>
</style>
